Skip to content

Lo L1C - Automatic Goodtimes#2896

Open
sdhoyt wants to merge 8 commits intoIMAP-Science-Operations-Center:devfrom
sdhoyt:lo-goodtimes
Open

Lo L1C - Automatic Goodtimes#2896
sdhoyt wants to merge 8 commits intoIMAP-Science-Operations-Center:devfrom
sdhoyt:lo-goodtimes

Conversation

@sdhoyt
Copy link
Copy Markdown
Contributor

@sdhoyt sdhoyt commented Mar 31, 2026

Change Summary

Overview

This code integrates Lo's python code for automatic goodtimes into the processing code.

I'm running into a mypy issue because of the number of if statements in a function. I'd like to push fixing that to another ticket a little later down the road to prioritize the remaining work I have for the 3 month maps.

I compared goodtimes values to the results of Lo's script. There was divergence, up to a few hundred seconds. If this needs to be more accurate, I'd also propose pushing this to a later change.

Closes #2841

@sdhoyt sdhoyt added this to the April 2026 milestone Mar 31, 2026
@sdhoyt sdhoyt self-assigned this Mar 31, 2026
@sdhoyt sdhoyt added Ins: Lo Related to the IMAP-Lo instrument Level: L1 Level 1 processing labels Mar 31, 2026
@sdhoyt sdhoyt added this to IMAP Mar 31, 2026
Copy link
Copy Markdown
Collaborator

@ahotasu ahotasu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me--all of my comments are for long-term polish and aren't needed prior to merge.

Copy link
Copy Markdown
Contributor

@subagonsouth subagonsouth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few suggestions for improvements. Looks good other than these minor things.

@tech3371
Copy link
Copy Markdown
Contributor

tech3371 commented Apr 7, 2026

@sdhoyt looks like you had reviewed from both David and Tim. Please let me know if you need review from me.

sdhoyt and others added 4 commits April 8, 2026 10:22
…cies for the entire pointing, consistent with the current Ancillary file. Also added logic to handle creation of output files with 0 start and end times when no GoodTimes are detected. Added test case to cover no goodtimes detected and updated other test cases as needed per the other change. Validated output against current ancillary files using flight data for 2026-02-21 through 02-28.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ins: Lo Related to the IMAP-Lo instrument Level: L1 Level 1 processing

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Lo L1C GoodTimes Processing

4 participants